package com.situ.crm.service;

import com.situ.crm.common.ServerResponse;
import com.situ.crm.entity.CusDevPlan;
import com.situ.crm.entity.CustomerLossMeasure;

public interface ICustomerLossMeasureService {

	/**
	 * 查出对应的暂缓流失计划
	 * @param limit
	 * @param page
	 * @param id
	 * @return
	 */
	ServerResponse pageList(Integer limit, Integer page, Integer id);

	/**
	 * 添加功能
	 * @param customerLossMeasure
	 * @return
	 */
	ServerResponse insert(CustomerLossMeasure customerLossMeasure);

	/**
	 * 根据id删除
	 * @param id
	 * @return
	 */
	ServerResponse deleteById(Integer id);

	/**
	 * 批量删除
	 * @param ids
	 * @return
	 */
	ServerResponse deleteAll(String ids);


	/**
	 * 修改查询
	 * @param id
	 * @return
	 */
	CustomerLossMeasure selectById(Integer id);

	/**
	 * 修改
	 * @param customerLossMeasure
	 * @return
	 */
	ServerResponse updata(CustomerLossMeasure customerLossMeasure);

}
